<template>
    <div class="loading">
    </div>
  </template>
  <script>
    import { getUrlContract } from "./../../api/index";
    import { Toast , MessageBox } from 'mint-ui'
    export default {
      name: 'Loading',
      data () {
        return {
           
        }
      },
      created() {
        this.getUrlContract()
      },
      methods:{
        getUrlContract(){
            getUrlContract().then(response => {
                location.href = response.data.url;
            }).catch(()=>{});
        }
     }
    }
    
  </script>
  <style scoped lang="stylus" ref="stylesheet/stylus">
   
      
  </style>